//
//  YTModifyContractViewController.m
//  YiTuDriverClient
//
//  Created by 石少庸 on 2017/7/4.
//  Copyright © 2017年 Yitu. All rights reserved.
//

#import "YTModifyContractViewController.h"
#import "YTProfileModel.h"

@interface YTModifyContractViewController ()
@property (weak, nonatomic) IBOutlet UILabel *wechatText;
@property (weak, nonatomic) IBOutlet UILabel *emailText;
@property (weak, nonatomic) IBOutlet UILabel *phoneText;
@end

@implementation YTModifyContractViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.tableView.tableFooterView = [UIView new];
    
    YTProfileModel *model = [YTUtilityManager manager].userModel;
    if (model.email.length) {
        _emailText.textColor = [UIColor blackColor];
        _emailText.text = model.email;
    }
    if (model.wechat.length) {
        _wechatText.textColor = [UIColor blackColor];
        _wechatText.text = model.wechat;
    }
    
    if (model.phone2.length) {
        _phoneText.textColor = [UIColor blackColor];
        _phoneText.text = model.phone2;
    }
}

@end
